<?php
/**
 * @Author: Wang Chunsheng 2192138785@qq.com
 * @Date:   2020-03-28 10:26:18
 * @Last Modified by:   Wang Chunsheng 2192138785@qq.com
 * @Last Modified time: 2020-03-28 10:37:29
 */
 
return [
    'diandi.admin.configs' => [
        'menuTable' => '{{%dd_menu}}',
        'cache' => [
            // 'class' => 'yii\caching\FileCache',
            'class' => 'yii\redis\Cache',
            'redis' => [
                'hostname' => '127.0.0.1',
                'port' => 6379,
                'database' => 0,
            ],
            // 'db' => ['dsn' => 'sqlite:@runtime/admin-cache.db'],
        ],
        // 'advanced' => [
        //     'backend' => [
        //         '@common/config/main.php',
        //         '@common/config/main-local.php',
        //         '@backend/config/main.php',
        //         '@backend/config/main-local.php',
        //     ]
        // ]
    ]
];
